package net.dgg.dggcloud.core.exception;

import net.dgg.dggcloud.core.DggApplicationContext;

/**
 * dggcloud.core模块基础异常
 *
 * @author 徐哲
 * @create 2017-11-02 16:30
 */
public class DggcloudCoreException extends BaseException{

	public static final int DEFAULT_CODE=10000;

	public DggcloudCoreException(String message){
		super(message,DEFAULT_CODE);
	}
	public DggcloudCoreException(String message, Throwable cause){
		super(message, DEFAULT_CODE, cause);
	}
	public DggcloudCoreException(Throwable cause){
		super(DEFAULT_CODE, cause);
	}

	public DggcloudCoreException(String message, int code, Throwable cause) {
		super(message, code, cause);
	}

	public DggcloudCoreException(int code, Throwable cause) {
		super(code, cause);
	}

	public DggcloudCoreException(String message, int code) {
		super(message, code);
	}

	public DggcloudCoreException(int code) {
		super(code);
	}
}